.class Lcom/estrongs/android/ui/dialog/t0$q;
.super Ljava/lang/Object;
.source "PropertyDialog.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/t0;->b(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/t0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/t0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/t0;->i(Lcom/estrongs/android/ui/dialog/t0;)Landroid/content/Context;

    move-result-object p1

    if-eqz p1, :cond_1

    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/t0;->k(Lcom/estrongs/android/ui/dialog/t0;)Landroid/content/Context;

    move-result-object p1

    instance-of p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p1, :cond_1

    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->p()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->v:Landroid/app/Dialog;

    if-eqz p1, :cond_0

    .line 3
    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    .line 4
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/t0;->l(Lcom/estrongs/android/ui/dialog/t0;)Landroid/content/Context;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->R()V

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->o()Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {v0}, Lcom/estrongs/android/ui/dialog/t0;->a(Lcom/estrongs/android/ui/dialog/t0;)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(Ljava/lang/String;Lcom/estrongs/android/pop/app/analysis/n;)V

    goto :goto_0

    .line 6
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/t0;->m(Lcom/estrongs/android/ui/dialog/t0;)Les/h70;

    move-result-object p1

    if-eqz p1, :cond_4

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/t0;->m(Lcom/estrongs/android/ui/dialog/t0;)Les/h70;

    move-result-object p1

    invoke-virtual {p1}, Les/h70;->D()Les/h70$a;

    move-result-object p1

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object v1, v0, Lcom/estrongs/android/ui/dialog/t0;->x:Lcom/estrongs/android/pop/app/diskusage/a;

    if-nez v1, :cond_2

    if-eqz p1, :cond_2

    .line 9
    new-instance v1, Lcom/estrongs/android/pop/app/diskusage/a;

    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-virtual {v2}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2, p1}, Lcom/estrongs/android/pop/app/diskusage/a;-><init>(Landroid/content/Context;Les/h70$a;)V

    iput-object v1, v0, Lcom/estrongs/android/ui/dialog/t0;->x:Lcom/estrongs/android/pop/app/diskusage/a;

    :cond_2
    if-eqz p1, :cond_4

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/t0;->x:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/diskusage/a;->b(Les/h70$a;)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-boolean v0, p1, Lcom/estrongs/android/ui/dialog/t0;->y:Z

    if-eqz v0, :cond_3

    .line 12
    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->x:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {p1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object p1

    const/16 v0, 0x7d3

    invoke-virtual {p1, v0}, Landroid/view/Window;->setType(I)V

    .line 13
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->x:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->w:Landroid/widget/ProgressBar;

    invoke-virtual {p1}, Landroid/widget/ProgressBar;->getVisibility()I

    move-result p1

    if-nez p1, :cond_4

    .line 15
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$q;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->x:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/diskusage/a;->a()V

    :cond_4
    :goto_0
    return-void
.end method
